home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Developer Connection Student Program
/
ADC Tools Sampler CD Disk 3 1999.iso
/
Apple Development Tools
/
SourceServer 3.4.1.sit
/
SourceServer 3.4.1
/
How to use SourceServer
next >
Wrap
Text File
|
1994-07-22
|
2KB
|
52 lines
How to use SourceServer with CW and ToolServer
1. Set up ToolServer so that it includes the "AliasSourceServer" , "UnaliasSourceServer",
and "Directory2" scripts and also the "RProj" tool.
2. Launch SourceServer through the Finder.
3. Launch ToolServer from CW.
4. Type 'Execute AliasSourceServer' (without quotes) in the worksheet, select it and
press the Enter key. If you get an error, you didn't set up ToolServer completely with
the necessary scripts and tools. Please look at the "How to add Tools" doc in the
compiler's folder.
5. Enter commands as you normally would for Projector.
6. When you're done with SourceServer, type 'Execute UnaliasSourceServer' (without quotes).
<<<<<<<<<<<<<<<<<<<<<<<<<<<<
The followng is part of the text for the script "AliasSourceServer".
# File: AliasSourceServer
#
# Copyright Apple Computer, Inc. 1991
# All rights reserved.
#
#
# Scripts that have Projector commands within them can normally not be
# executed by ToolServer. Using SourceServer, the RProj tool, and three support
# scripts (AliasSourceServer, UnaliasSourceServer, and Directory2), ToolServer
# can perform Projector functions. SourceServer must be running on the same
# computer as ToolServer before the Projector scripts can be executed.
# Individual Projector command lines are sent from ToolServer to SourceServer
# via AppleEvents by the RProj tool. To allow RProj to automatically be invoked
# any time a Projector command is encountered, we use the AliasSourceServer
# script to alias each ProjectorCommand to "RProj ProjectorCommand". To make
# sure that the aliases remain in effect even after the AliasSourceServer script
# has finished running, we must use the command line, "Execute AliasSourceServer".
# Directory commands also need to be aliased to Directory2, which will keep the
# current directory of both ToolServer and SourceServer set to the same location
# so both Projector and non-Projector commands operate on the same set of files.
# This alias is also established by the AliasSourceServer script. Finally, after
# completion of the Projector commands, "Execute UnaliasSourceServer" restores
# ToolServer to it's normal operation.
#
# This file, AliasSourceServer, sets up aliases for ToolServer to reroute
# Projector commands, via the RProj tool, to SourceServer.
--Mark Anderson
--metrowerks
7/22/94